'use strict';

const PropTypes = require('prop-types');

const React = require('react');
const {
  View,
  StyleSheet,
} = require('react-native');
const {
  JDDevice,
  JDQuantity
} = require('@areslabs/jdreact-core-lib');
const PageContainer = require('../../components/PageContainer');

class JDQuantityExample extends React.Component {
  render() {
    return (
      <PageContainer
        title={this.props.title}
        bodyStyle={{padding: JDDevice.getRpx(20)}}>
        <JDQuantity
          maxValue={20}
        />
      </PageContainer>
    )
  }
}

const styles = StyleSheet.create({
});

module.exports = JDQuantityExample;

